<template>
  <div class="empty-box">
    <div class="pic-box">
      <img :src="logo" class="pic" onclick="return false"/>
      <span class="tip-box">{{title}}</span>
    </div>
  </div>
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        default: "没有搜索结果~"
      },
      logo: {
        type: String,
        default: require("../images/no_result.png")
      }
    }
  }
</script>

<style lang="less" scoped>
  @import "../assest/mixin";

  .empty-box {
    .fj(center, center);
    flex-direction: column;
    .who(100%, 100%, hidden);
    background: @talent-bg-color;
    .pic-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      .wh(3.467rem, 3.467rem);
      .pic {
        .wh(100%, 100%);
      }
      .tip-box {
        padding-bottom: 0.667rem;
        .size-color(0.373rem, rgba(153, 153, 153, 1));
      }
    }

  }

</style>
